<?php
	require_once '../Tool/Common/PrepareInput.php';

    session_start();
    if (empty($_SESSION["userType"])) {
        $url="../Index.php";
		include_once '../Tool/Common/Redirect.php';
		exit();
    }
    
    $AttendanceRecordID=""; 

    $flag=0;
    if(isset($_REQUEST['AttendanceRecordID'])) { 
        $AttendanceRecordID=prepareInput($_REQUEST['AttendanceRecordID']); 
        $AttendanceRecordID=intval($_REQUEST['AttendanceRecordID']);  
    }
    
    if(preg_match("/^[0-9]*$/",$AttendanceRecordID)){
		$flag=1;
	}
    echo $flag;
?>